package day03;

public class OperDemo3 {
    public static void main(String[] args) {
        /*
        int a=5,b=10,c=5;
        boolean b1 = b>a && b<c;
        System.out.println(b1);
        System.out.println(b<=c && b>a);
        System.out.println(a==b && c>b);
        System.out.println(b!=c && a<b);
        int age = 40;
        System.out.println(age>18 && age<50);
        int score = 86;
        System.out.println(score>=0 && score<=100);
        int aa=5,bb=10,cc=5;
        boolean bb1= bb>aa && bb<cc;
        System.out.println(bb1);
        System.out.println(bb<=cc && bb>aa);
        System.out.println(aa==bb && cc>bb);
        System.out.println(bb!=cc && aa<bb);

         System.out.println(b>=a || b<c);
        System.out.println(b<=c || b>a);
        System.out.println(b!=c || a<b);
        System.out.println(a==b || b<c);
        int score = 90;
        System.out.println(score<0 ||score>100);

        boolean b2 = !(a<b);
        System.out.println(b2);
        System.out.println(!(a>b));

        System.out.println(b>=a || b<c);
        System.out.println(b<=c || b>a);
        System.out.println(b!=c || a<b);
        */
        int a=5,b=10,c=5;
        /*
        boolean b3 = a>b && c++>2;
        System.out.println(b3);
        System.out.println(c);
        */
        boolean b4 = a<b || c++>2;
        System.out.println(b4);//true
        System.out.println(c);

        boolean b5 = a>b&&c++>2;
        System.out.println(b5);
        System.out.println(c);

        boolean b6 = a<b || c++>2;
        System.out.println(b6);
        System.out.println(c);


    }
}
